/* pages/details/details.wxss */

.detailPage {
    height: 100vh;
    width: 100vw;
    position: relative;

    .scrollContainer {
        height: 100%;
        width: 100%;

        padding: 10rpx;
        box-sizing: border-box;

        ::-webkit-scrollbar {
            height: 0;
            width: 0;
            color: transform;
        }

        .fixd {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            z-index: -1;
        }

        .swiperBox {
            height: 600rpx;
            width: 100%;

            .swiperitem {
                height: 600rpx;
                width: 100%;

                .imagebody {
                    height: 600rpx;
                    width: 100%;
                }
            }

        }

        .priceBox {
            height: 80rpx;
            width: 100%;
            margin: 10rpx 0;
            border-radius: 20rpx;
            background: rgba(250, 0, 0, 0.9);
            display: flex;
            letter-spacing: 1;
            flex-direction: row;

            .priceleft {
                position: relative;
                width: 50%;
                background: white;
                margin: 10rpx 20rpx;
                border-radius: 50rpx;
                color: red;
                display: flex;

                .titledesc {
                    position: absolute;
                    left: 30rpx;
                    top: 16rpx;
                    font: 20rpx "Microsoft yahei";
                }

                .realprice {
                    position: absolute;
                    left: 130rpx;
                    top: 10rpx;
                    font-weight: 700;
                }

                .departprice {
                    position: absolute;
                    left: 260rpx;
                    bottom: 10rpx;
                    text-decoration: line-through;
                    font: 20rpx "Microsoft yahei";
                    color: rgba(0, 0, 0, 0.5);
                }
            }

            .endtimebox {
                height: 100%;
                width: 50%;
                display: flex;
                align-items: center;
                justify-content: flex-end;
                margin-right: 20rpx;
                color: white;

                .endtitle {
                    font: 20rpx "Microsoft yahei";
                    margin-right: 10rpx;
                }

                .endtime {
                    font: 20rpx "Microsoft yahei";
                }
            }
        }

        .addCarbox {
            height: 800rpx;
            display: flex;
            flex-direction: column;

            .topbox {
                background: white;
                width: 100%;
                height: 200rpx;
                display: flex;
                align-items: center;
                padding: 20rpx;
                box-sizing: border-box;
                margin-bottom: 10rpx;
                .topLeft {
                    width: 150rpx;
                    border-radius: 20rpx;
                    height: 150rpx;
                    background: royalblue;
                    .imagebody {
                        height: 150rpx;
                        border-radius: 20rpx;
                        width: 150rpx;
                    }
                }

                .topright {
                    position: relative;
                    display: flex;
                    width: 100%;
                    margin-left: 20rpx;
                    border-radius: 20rpx;
                    height: 150rpx;

                    .subrightL {
                        display: flex;
                        flex-direction: column;

                        .pricebox {
                            display: flex;
                        }

                        .realprice {
                            font: 700 30rpx "Microsoft yahei";
                            height: 50rpx;
                            padding: 5rpx 30rpx;
                            box-sizing: border-box;
                            background: red;
                            border-radius: 50rpx;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            color: white;
                        }

                        .dprice {
                            text-decoration: line-through;
                            font: 700 24rpx "Microsoft yahei";
                            height: 50rpx;
                            display: flex;
                            margin-left: 20rpx;
                            align-items: center;
                        }

                        .trans {
                            font: 200 24rpx "Microsoft yahei";
                            height: 60rpx;
                            display: flex;
                            align-items: center;

                        }

                        .choodeResult {
                            font: 200 24rpx "Microsoft yahei";
                            height: 60rpx;
                            display: flex;
                            align-items: center;

                            .chooseContent {
                                margin-left: 10rpx;
                                font: 700 20rpx "Microsoft yahei"

                            }
                        }
                    }

                    .subrightR {
                        position: absolute;
                        right: 0;
                        top: 0;
                    }
                }
            }

            .scrollerView {
                height: 600rpx;
                width: 100%;
                display: flex;
                padding-bottom: 60rpx;
                box-sizing: border-box;

                .bottombox {
                    background: white;
                    padding: 20rpx;
                    width: 100%;
                    box-sizing: border-box;

                    .skulistcontainer {
                        display: flex;
                        width: 100%;
                        flex-direction: column;

                        .skuItemBox {
                            .attrNameBox {
                                padding: 10rpx;
                                font: 700 28rpx "Microsoft yahei";
                                letter-spacing: 2rpx;
                            }

                            .attrValueBox {
                                display: flex;
                                flex-wrap: wrap;
                                .attrValueItem {
                                    border-radius: 5rpx;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    padding: 10rpx;
                                    box-sizing: border-box;
                                    background: rgba(200, 200, 200, 0.1);
                                    margin: 5rpx;
                                    color: rgba(0, 0, 0, 0.4);
                                    height: 60rpx;
                                    font: 200 24rpx "Microsoft yahei";
                                    border: 1px dashed rgba(200, 200, 200, 0.4);
                                }
                                .actived {
                                    color: red;
                                    border: 1px solid rgba(255, 0, 0, 1);
                                }                        
                            }
                        }
                    }

                    .countBar {
                        display: flex;
                        padding: 20rpx 10rpx;
                        width: 100%;
                        box-sizing: border-box;
                        font: 700 28rpx "Microsoft yahei";
                        justify-content: space-between;
                    }
                }
            }


        }

        .confirm {
            background: red;
            border-radius: 50rpx;
            margin: 10rpx 20rpx;
            height: 60rpx;
            box-sizing: border-box;
            padding: 10rpx 20rpx;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;

        }

        .productTitle {
            width: 100%;
            font: 700 28rpx "Microsoft yahei";
            letter-spacing: 2rpx;
            flex-wrap: wrap;
            background: white;
            border-radius: 20rpx;
            padding: 20rpx 0;
            box-sizing: border-box;
            margin-bottom: 10rpx;

            .title {
                width: 100%;
                padding: 20rpx 10rpx;
                line-height: 40rpx;
                box-sizing: border-box;
            }
        }

        .attrBox {
            height: 300rpx;
            width: 100%;
            border-radius: 20rpx;
            padding: 10rpx 0;
            box-sizing: border-box;
            background: white;

            .attritem {
                width: 100%;
                display: flex;
                margin: 10rpx;
                box-sizing: border-box;

                .itemtitle {
                    width: 100rpx;
                    font: 200 25rpx "Microsoft yahei";
                    display: flex;
                    align-items: center;
                    justify-content: flex-start;
                }

                .itemList {
                    font: 200 25rpx "Microsoft yahei";
                    width: 100%;

                    .listElement {
                        height: 60rpx;
                        display: flex;
                        width: 100%;
                        margin: 5rpx 0;
                        align-items: center;
                        justify-content: space-between;

                        .attrTitle {
                            width: 100%;
                        }

                        .delveryTitle {
                            width: 100rpx;
                        }

                        .delveryDesc {
                            display: flex;
                            width: 100%;
                            height: 100%;
                            align-items: center;
                            justify-content: flex-start;
                        }

                        .imageBox {
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            height: 64rpx;
                            width: 64rpx;
                            height: 60rpx;

                            .imagebody {
                                height: 16rpx;
                                width: 16rpx;
                            }
                        }

                    }
                }
            }
        }

        .InfoparamsBox {
            margin: 10rpx 0;
            background: white;
            border-radius: 20rpx;

            .infoNav {
                height: 88rpx;
                width: 100%;
                display: flex;

                .infotitleBox {
                    display: flex;
                    flex: 1;
                    align-items: center;
                    justify-content: center;

                    .customactived {
                        color: white;
                        background: rgba(250, 0, 0, 0.5);
                    }
                }
            }
        }

        .navBarContainer {
            height: 88rpx;
            display: flex;
            justify-content: space-evenly;
            align-items: center;

            .nav_item {
                position: relative;
                line-height: 88rpx;
                font: 700 28rpx "Microsoft yahei";
                letter-spacing: 2rpx;
            }

            .nav_item::after {
                content: '';
                position: absolute;
                height: 6rpx;
                width: 0;
                background: red;
                bottom: -5rpx;
                left: 0;
                transition: 0.3s;
            }

            .nav_item.actived::after {
                width: 110rpx;
            }

            .fixnav {
                position: fixed;
                z-index: 1;
                top: 0;
                left: 0;
            }
        }

        .actived {
            color: red;
        }

        .container {
            width: 100%;
            margin: 0;
            padding: 0 0 200rpx 0;
            height: 1350rpx;
            box-sizing: border-box;

            .infobody {
                height: 1350rpx;
                width: 100vw;

                .descitem {
                    height: 100%;
                    width: 100%;

                    image {
                        width: 100%;
                        margin: 0;
                        padding: 0;
                    }
                }

                .attrGroup {
                    display: flex;
                    padding: 20rpx 30rpx;
                    margin-bottom: 2rpx;
                }

                .groupName {
                    width: 200rpx;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font: 700 30rpx "Microsoft yahei";
                }

                .attrValus {
                    font: 400 28rpx "Microsoft yahei";
                }
            }

            .pt {
                margin-top: 88rpx;
            }

            .bottomComponent {
                background: yellow;
            }
        }
    }
}